﻿<Window x:Class="AEA.WPFControls.Test.Window1"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:aea="clr-namespace:AEA.WPFControls;assembly=AEA.WPFControls"
        Title="Window1"
        Height="190"
        Width="319">
    <Grid>
        <aea:SplitButton x:Name="Ade"
                         Margin="12,12,130,0"
                         SnapsToDevicePixels="False"
                         Click="Ade_Click"
                         Height="42"
                         VerticalAlignment="Top"
                         DisplayStyle="TextAndImage"
                         Source="/AEA.WPFControls.Test;component/Butterfly.jpg"
                         IsEnabled="True"
                         IsDropDownOpen="False"
                         TextImageRelation="ImageBeforeText">
            <aea:SplitButtonItem>SplitButton</aea:SplitButtonItem>
            <aea:SplitButtonItem IsSelected="True">hello</aea:SplitButtonItem>
        </aea:SplitButton>
    </Grid>
</Window>
